home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 August: Tool Chest / Apple_Developer_Group_August_1996_Tool_Chest.iso / Sample Code / Snippets / Printing / PDlog Expand (TN PR09) / About PDlog Expand.doc next >
Encoding:
Text File  |  1996-06-13  |  1.3 KB  |  22 lines  |  [TEXT/ttxt]

  1.  
  2. Hey!  What the Heck is this?!
  3.  
  4. sample: PDlog Expand
  5. Language: MWC 8
  6.  
  7. This example shows how to add items to print dialogs.  It’s essentially the code in Tech Note PR09, only in C.  Note that in v1.0.2, a bug was corrected which is also in the Tech Note.
  8.  
  9. - Dave Hersey
  10.   Apple Developer Technical Support
  11.   
  12.   10/9/91… v1.0
  13.   2/25/92… v1.0.1 --> fixed lack of print handle tossing and added something to print.
  14.   9/29/93… v1.0.2 --> fixed a problem with the Append_DITL routine which caused an
  15.                                                                      extra 2 bytes of garbage to be appended to the DITL.
  16.   6/20/95… v1.0.3 --> updated for Universal Headers and MWC-PPC   <njvt>
  17.   11/16/95    v1.0.4 --> updated to use CallPItemProc() and PItemUPP. Make it fully ANSI.
  18.                        Explicitly include needed headers, so back-port to MPW is easier.      <davep>
  19.   6/10/96… v1.1 --> Probably shoulda bumped to 1.1 at 1.0.4, but better late than never.
  20.                        Update version resources, and make the buttonn we add open another dialog with yet more stuff in it. Added balloon help to demonstrate how that works, too.
  21. • NOTE: To append help for the items you're appending to the print dialog, you have to use a 'HMScanAppendhdlg' item. This type isn't readily available from Resorcerer or ResEdit, so that's why I switched to Rez source for the resources. <davep>
  22.